//
// Maian SOS
//

#include "stagesetup.h"

// Characters
#define CHR_LABTECH1    0x44
#define CHR_LABTECH2    0x45
#define CHR_OUTRO_GUARD 0x56

// Objects
#define OBJ_EXPERIMENT   0x2f
#define OBJ_CONSOLE      0x45
#define OBJ_GLASS1       0x4a
#define OBJ_GLASS2       0x4b
#define OBJ_GLASS3       0x4c
#define OBJ_TROLLEY      0x4d
#define OBJ_PSYCHOSISGUN 0x4e

// Stage flags
#define STAGEFLAG_EXPERIMENT_DESTROYED 0x00000100
#define STAGEFLAG_SAUCER_DESTROYED     0x00000200
#define STAGEFLAG_CONSOLE_ACTIVATED    0x00000400
#define STAGEFLAG_ALARM_SOUNDED        0x00000800
#define STAGEFLAG_CONSOLE_DESTROYED    0x00001000
#define STAGEFLAG_TRAPPED_AT_START     0x00002000
#define STAGEFLAG_GOT_FALCON2          0x00004000

// AI Lists
#define AILIST_CLONE_SPAWNER    0x0410
#define AILIST_INIT_CLONE       0x0411
#define AILIST_CLONE            0x0412
#define AILIST_CLONE_SPAWNER2   0x0413
#define AILIST_UNLOAD           0x0414
#define AILIST_INIT_50HP_GUARD  0x0415
#define AILIST_INIT_80HP_GUARD  0x0416
#define AILIST_INIT_LX_GUARD    0x0417
#define AILIST_INIT_OUTRO_GUARD 0x0419
#define AILIST_OUTRO            0x041b
#define AILIST_INIT_LABTECH     0x041c

extern s32 intro[];
extern u32 props[];
extern struct path paths[];
extern struct ailist ailists[];

struct stagesetup setup = {
	NULL,
	NULL,
	NULL,
	intro,
	props,
	paths,
	ailists,
	NULL,
};

u32 props[] = {
	briefing(BRIEFINGTYPE_LOCATION, L_SEV_001)
	briefing(BRIEFINGTYPE_TEXT_PA,  L_SEV_000)
	briefing(BRIEFINGTYPE_TEXT_SA,  L_SEV_002)
	briefing(BRIEFINGTYPE_TEXT_A,   L_SEV_003)

	beginobjective(0, L_SEV_004, (DIFFBIT_SA | DIFFBIT_PA | DIFFBIT_PD)) // "Sabotage enemy medical experiment"
		complete_flags(STAGEFLAG_EXPERIMENT_DESTROYED)
	endobjective

	beginobjective(1, L_SEV_005, (DIFFBIT_PA | DIFFBIT_PD)) // "Destroy captured Maian saucer"
		complete_flags(STAGEFLAG_SAUCER_DESTROYED)
	endobjective

	beginobjective(2, L_SEV_006, (DIFFBIT_A | DIFFBIT_SA | DIFFBIT_PA | DIFFBIT_PD)) // "Activate distress signal"
		complete_flags(STAGEFLAG_CONSOLE_ACTIVATED)
		fail_flags(STAGEFLAG_CONSOLE_DESTROYED)
		fail_flags(STAGEFLAG_TRAPPED_AT_START)
	endobjective

	chr(SPAWNFLAG_FIXEDHEIGHT, CHR_LABTECH1, PAD_SEV_03DC, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_LABTECH, -1, -1, 1000, 100, CHRFLAG0_SURPRISABLE | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION | CHRFLAG1_CAN_DRAW_PISTOL, TEAM_ENEMY, SQUADRON_01, -1, 0, 0, 4, 0, 0)

	chr(SPAWNFLAG_FIXEDHEIGHT, CHR_LABTECH2, PAD_SEV_012D, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_LABTECH, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_01, -1, 0, 0, 1, 0, 0)
	weapon(0x0100, MODEL_CHRFALCON2, CHR_LABTECH2, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_FALCON2)

	chr(SPAWNFLAG_BASICGUARD, 0x00, PAD_SEV_0128, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_02, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0000, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x01, PAD_SEV_0126, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_02, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0001, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x02, PAD_SEV_0399, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_02, 0x3f, 0, 0, 3, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0002, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x03, PAD_SEV_039A, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 2000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_02, 0x40, 0, 0, 3, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0003, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x04, PAD_SEV_0393, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CAN_HEARSPAWN | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_04, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0004, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x07, PAD_SEV_0394, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_CAN_RETREAT | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_04, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0007, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x08, PAD_SEV_0395, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CAN_HEARSPAWN | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_04, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0008, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x09, PAD_SEV_0115, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CAN_HEARSPAWN | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_05, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0009, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x0b, PAD_SEV_013A, BODY_AREA51GUARD, HEAD_KEN, AILIST_INIT_LX_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_05, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDY357TRENT, 0x000b, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_WEAPON_NOAMMO, 0, 0, WEAPON_DY357LX)
	weapon(0x0100, MODEL_CHRDY357TRENT, 0x000b, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED | OBJFLAG_WEAPON_NOAMMO, 0, 0, WEAPON_DY357LX)

	link_guns(-1, -2)
	chr(SPAWNFLAG_BASICGUARD, 0x0c, PAD_SEV_013D, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_05, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x000c, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x0f, PAD_SEV_010D, BODY_AREA51GUARD, HEAD_RANDOM, 0x0407, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_06, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x000f, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x10, PAD_SEV_0100, BODY_AREA51GUARD, HEAD_RANDOM, 0x0408, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_06, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0010, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x11, PAD_SEV_03BF, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 100, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_07, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0011, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x12, PAD_SEV_03C0, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 100, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_07, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0012, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x13, PAD_SEV_03B1, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_07, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0013, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x14, PAD_SEV_03B2, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_09, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0014, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_FIXEDHEIGHT, 0x15, PAD_SEV_03C9, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, 0x03c8, -1, 1000, 100, CHRFLAG0_GP1 | CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_09, -1, 0, 0, 4, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0015, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_FIXEDHEIGHT, 0x16, PAD_SEV_03B3, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, 0x03c9, -1, 1000, 100, CHRFLAG0_GP1 | CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_09, -1, 0, 0, 4, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0016, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_TRANQUILIZER)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0016, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_WEAPON_AICANNOTUSE, 0, 0, WEAPON_PSYCHOSISGUN)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x17, PAD_SEV_039E, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_0A, 0x41, 0, 0, 3, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0017, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x18, PAD_SEV_039B, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_0A, 0x42, 0, 0, 3, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0018, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x19, PAD_SEV_039D, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_0A, 0x43, 0, 0, 3, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0019, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x1a, PAD_SEV_039C, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION, TEAM_ENEMY, SQUADRON_0A, 0x44, 0, 0, 3, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x001a, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x46, PAD_SEV_03C2, BODY_LABTECH, HEAD_RANDOM, GAILIST_UNALERTED, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION | CHRFLAG1_CAN_DRAW_PISTOL, TEAM_ENEMY, SQUADRON_0B, -1, 0, 0, 1, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0046, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0046, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_WEAPON_AICANNOTUSE, 0, 0, WEAPON_PSYCHOSISGUN)

	chr(SPAWNFLAG_BASICGUARD | SPAWNFLAG_FIXEDHEIGHT, 0x47, PAD_SEV_011C, BODY_LABTECH, HEAD_RANDOM, GAILIST_UNALERTED, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, CHRFLAG1_DOINGIDLEANIMATION | CHRFLAG1_CAN_DRAW_PISTOL, TEAM_ENEMY, SQUADRON_0B, -1, 0, 0, 4, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0047, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0047, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_WEAPON_AICANNOTUSE, 0, 0, WEAPON_PSYCHOSISGUN)

	chr(SPAWNFLAG_BASICGUARD, 0x1b, PAD_SEV_00DB, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CAN_HEAR_ALARMS | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x001b, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x1c, PAD_SEV_00CA, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CAN_HEAR_ALARMS | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x001c, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x1d, PAD_SEV_00C7, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CAN_HEAR_ALARMS | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x001d, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x1e, PAD_SEV_03E4, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x001e, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x1f, PAD_SEV_03E5, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x001f, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x20, PAD_SEV_03E6, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0020, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x21, PAD_SEV_03E7, BODY_AREA51GUARD, HEAD_RANDOM, AILIST_INIT_80HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0C, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0021, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x22, PAD_SEV_039F, BODY_A51AIRMAN, HEAD_RANDOM, 0x0401, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0022, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x23, PAD_SEV_03A2, BODY_A51AIRMAN, HEAD_RANDOM, 0x0402, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0023, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x24, PAD_SEV_03A3, BODY_A51AIRMAN, HEAD_RANDOM, 0x0403, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0024, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x25, PAD_SEV_03A4, BODY_A51AIRMAN, HEAD_RANDOM, 0x0404, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0025, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x26, PAD_SEV_03A5, BODY_A51AIRMAN, HEAD_RANDOM, 0x0405, -1, -1, 1000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0026, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x27, PAD_SEV_0386, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 2000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0027, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x28, PAD_SEV_0387, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 2000, 100, CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0D, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0028, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x29, PAD_SEV_03A7, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0E, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0029, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x2a, PAD_SEV_03A6, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_CAN_RETREAT | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0E, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x002a, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x2b, PAD_SEV_03A8, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0E, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x002b, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x2c, PAD_SEV_03CB, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_FORCESAFETYCHECKS | CHRFLAG0_00008000 | CHRFLAG0_AIVSAI | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_0E, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x002c, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x2d, PAD_SEV_035D, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, CHRFLAG1_ALLOWSOFTCOVER, TEAM_ENEMY, SQUADRON_0F, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x002d, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x2e, PAD_SEV_0362, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, CHRFLAG1_ALLOWSOFTCOVER, TEAM_ENEMY, SQUADRON_0F, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x002e, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x2f, PAD_SEV_035C, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, CHRFLAG1_THROWGRENADEFIRST | CHRFLAG1_ALLOWSOFTCOVER, TEAM_ENEMY, SQUADRON_0F, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x002f, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x30, PAD_SEV_035E, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_HOLD_POSITION | CHRFLAG0_COVER_TYPE2 | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, CHRFLAG1_ALLOWSOFTCOVER, TEAM_ENEMY, SQUADRON_0F, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0030, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x31, PAD_SEV_035F, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 100, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, CHRFLAG1_CAN_SNIPE, TEAM_ENEMY, SQUADRON_08, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0031, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x32, PAD_SEV_0361, BODY_A51AIRMAN, HEAD_RANDOM, 0x0406, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_08, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0032, OBJFLAG_ASSIGNEDTOCHR | OBJFLAG_DEACTIVATED, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x33, PAD_SEV_0360, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_08, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0033, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x34, PAD_SEV_038C, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0034, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x35, PAD_SEV_038D, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0035, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x36, PAD_SEV_038E, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0036, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, 0x37, PAD_SEV_038F, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0037, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)

	chr(SPAWNFLAG_BASICGUARD, 0x38, PAD_SEV_0390, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0038, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)

	chr(SPAWNFLAG_BASICGUARD, 0x39, PAD_SEV_0391, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0039, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)

	chr(SPAWNFLAG_BASICGUARD, 0x3a, PAD_SEV_0392, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_50HP_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x003a, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)

	chr(0, 0x4e, PAD_SEV_0118, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_CLONE_SPAWNER, -1, -1, 200, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_NOHANDCOMBAT | CHRFLAG1_AIVSAI_ADVANTAGED | CHRFLAG1_NOOP_00200000, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x004e, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(0, 0x4f, PAD_SEV_0212, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_CLONE_SPAWNER, -1, -1, 200, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_NOHANDCOMBAT | CHRFLAG1_AIVSAI_ADVANTAGED | CHRFLAG1_NOOP_00200000, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x004f, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(0, 0x50, PAD_SEV_00F3, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_CLONE_SPAWNER, -1, -1, 200, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_NOHANDCOMBAT | CHRFLAG1_AIVSAI_ADVANTAGED | CHRFLAG1_NOOP_00200000, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0050, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(0, 0x51, PAD_SEV_01A8, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_CLONE_SPAWNER2, -1, -1, 200, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_NOHANDCOMBAT | CHRFLAG1_AIVSAI_ADVANTAGED | CHRFLAG1_NOOP_00200000, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0051, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(0, 0x52, PAD_SEV_01A2, BODY_A51AIRMAN, HEAD_RANDOM, AILIST_CLONE_SPAWNER2, -1, -1, 200, 100, CHRFLAG0_SKIPSAFETYCHECKS | CHRFLAG0_AIVSAI | CHRFLAG0_SQUADALERTANYDIST | CHRFLAG0_CANLOSEGUN, CHRFLAG1_NOHANDCOMBAT | CHRFLAG1_AIVSAI_ADVANTAGED | CHRFLAG1_NOOP_00200000, TEAM_ENEMY, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRAGON, 0x0052, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_DRAGON)

	chr(SPAWNFLAG_BASICGUARD, CHR_OUTRO_GUARD, PAD_SEV_01A3, BODY_LABTECH, HEAD_RANDOM, AILIST_INIT_OUTRO_GUARD, -1, -1, 1000, 20, CHRFLAG0_AIVSAI | CHRFLAG0_HEAR_REQUIRE_LOS | CHRFLAG0_CANLOSEGUN, 0, TEAM_NONCOMBAT, SQUADRON_00, -1, 0, 0, 0, 0, 0)
	weapon(0x0100, MODEL_CHRDRUGGUN, 0x0056, OBJFLAG_ASSIGNEDTOCHR, 0, 0, WEAPON_TRANQUILIZER)

	tag(OBJ_TROLLEY, 1)
	hover_prop(0x0100, MODEL_A51TROLLEY, PAD_SEV_03BD, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_UNCOLLECTABLE | OBJFLAG_01000000 | OBJFLAG_AISEETHROUGH, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_BULLETPROOF, OBJFLAG3_PUSHABLE | OBJFLAG3_PUSHFREELY, 1000, HOVTYPE_BED)
	tag(OBJ_EXPERIMENT, 1)
	hover_prop(0x0100, MODEL_HOVERBED, PAD_SEV_03C3, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_UNCOLLECTABLE | OBJFLAG_01000000 | OBJFLAG_AISEETHROUGH, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_REMOVEWHENDESTROYED | OBJFLAG2_BULLETPROOF, OBJFLAG3_HOVERBEDSHIELD, 1000, HOVTYPE_BED)
	tag(0x3e, 1)
	stdobject(0x0100, MODEL_ELVIS_SAUCER, PAD_SEV_0396, OBJFLAG_00000008 | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_IGNOREROOMCOLOUR, OBJFLAG2_REMOVEWHENDESTROYED, 0, 12000)
	door_scale(0x00008000)
	tag(0x35, 1)
#if VERSION >= VERSION_NTSC_1_0
	lift(0x0100, MODEL_A51_LIFT_STORE, PAD_SEV_0334, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0334, 0x0335, -1, -1, 0x00000001, 0x00000002, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x20000000)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E2, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, OBJFLAG3_80000000, 1000, 0x0000e666, 0x00010000, 0x00000888, 0x00000888, 0x00000147, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E1, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, OBJFLAG3_80000000, 1000, 0x0000e666, 0x00010000, 0x00000888, 0x00000888, 0x00000147, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
#else
	lift(0x0100, MODEL_A51_LIFT_STORE, PAD_SEV_0334, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0334, 0x0335, -1, -1, 0x00000001, 0x00000002, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x15000000)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E2, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, 0, 1000, 0x0000e666, 0x00010000, 0x00000888, 0x00000888, 0x00000147, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E1, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, 0, 1000, 0x0000e666, 0x00010000, 0x00000888, 0x00000888, 0x00000147, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
#endif
	lift_door(-2, -3, 0)
	lift_door(-2, -4, 1)
	tag(0x39, 1)
#if VERSION >= VERSION_NTSC_1_0
	lift(0x0100, MODEL_A51_LIFT_THINWALL, PAD_SEV_0336, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0336, 0x0337, -1, -1, 0x00000001, 0x00000002, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x20000000)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E4, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, OBJFLAG3_80000000, 1000, 0x0000cccc, 0x00010000, 0x00000888, 0x00000888, 0x00000147, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E3, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, OBJFLAG3_80000000, 1000, 0x0000cccc, 0x00010000, 0x00000888, 0x00000888, 0x00000147, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
#else
	lift(0x0100, MODEL_A51_LIFT_THINWALL, PAD_SEV_0336, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0336, 0x0337, -1, -1, 0x00000001, 0x00000002, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x15000000)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E4, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00000888, 0x00000888, 0x00000147, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51LIFTDOOR, PAD_SEV_02E3, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_AISEETHROUGH, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00000888, 0x00000888, 0x00000147, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000300)
#endif
	lift_door(-2, -3, 0)
	lift_door(-2, -4, 1)
	door_scale(0x00010000)
	tag(0x03, 1)
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_0428, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100, 0, 0, 1000, 3, 3, 0, 0)
	tag(0x02, 1)
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_0427, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100, 0, 0, 1000, 3, 3, 0, 0)
	tag(0x01, 1)
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_0429, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100, 0, 0, 1000, 3, 3, 0, 0)
	tag(0x04, 1)
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_0426, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100, 0, 0, 1000, 3, 3, 0, 0)
	tag(0x3c, 2)
	tag(0x3d, 2)
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_03C6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100, 0, 0, 1000, 3, 3, 0, 0)
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_03C7, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100, 0, 0, 1000, 3, 3, 0, 0)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_027F, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_027E, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_027D, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_027C, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_027A, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_027B, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0278, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0279, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0277, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0276, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0274, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000002, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0275, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000002, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0273, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0272, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0270, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0271, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_026F, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_026E, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_026C, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_026D, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_026B, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_026A, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0268, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0269, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0266, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0267, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x2b, 4)
	tag(0x2c, 4)
	tag(0x2d, 4)
	tag(0x2e, 4)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02AA, OBJFLAG_DEACTIVATED, OBJFLAG2_LOCKEDFRONT, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000080, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02AB, OBJFLAG_DEACTIVATED, OBJFLAG2_LOCKEDBACK, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000080, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02AC, OBJFLAG_DEACTIVATED, OBJFLAG2_LOCKEDFRONT, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000080, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02AD, OBJFLAG_DEACTIVATED, OBJFLAG2_LOCKEDBACK, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000080, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x07, 2)
	tag(0x08, 2)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0280, OBJFLAG_DEACTIVATED, OBJFLAG2_LOCKEDFRONT, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000040, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0281, OBJFLAG_DEACTIVATED, OBJFLAG2_LOCKEDBACK, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000040, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x09, 2)
	tag(0x0a, 2)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02B7, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02B8, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x0b, 2)
	tag(0x0c, 2)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02B9, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02BA, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x0d, 2)
	tag(0x0e, 2)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02BB, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02BC, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0283, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0282, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0284, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_0285, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_028B, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_028A, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_GL, PAD_SEV_0286, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, DOORFLAG_WINDOWED, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x01f407d0, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0287, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_GL, PAD_SEV_0289, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, DOORFLAG_WINDOWED, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x01f407d0, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_0288, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02A4, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02A5, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000000, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02A6, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000001, 0x0000003c, 0x00000000, 0x00000000, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_SECRET, PAD_SEV_028E, OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000f333, 0x0000d555, 0x0000d555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000001, 0x0000003c, 0x00000000, 0x00000000, 0x00000100)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_0292, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_0293, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_0294, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_0295, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_0299, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000c000, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_0298, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000c000, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x0f, 1)
	door(0x0100, MODEL_A51_HORIZ_DOOR_GL, PAD_SEV_02A8, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, DOORFLAG_WINDOWED, DOORTYPE_VERTICAL, 0x00000000, 0x00000258, 0x01f407d0, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02A7, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000258, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_029A, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_029B, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_029C, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000c000, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_029D, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000c000, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x13, 1)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_029E, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000c000, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_029F, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000c000, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x30, 3)
	tag(0x31, 3)
	tag(0x11, 1)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_02A1, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_02A0, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_028C, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_028D, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000e666, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000002, 0x00000384, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_02AE, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000e666, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000020, 0x00000384, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_028F, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000000, 0x00000300)
	tag(0x12, 1)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_0290, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000080, 0x00000384, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_0291, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000000, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_02A2, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000a666, 0x0000a666, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_02A3, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000a666, 0x0000a666, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51GATE_L, PAD_SEV_02B5, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000cccc, 0x00010000, 0x00000ccc, 0x00014000, 0x00000111, 0, DOORTYPE_SLIDING, 0x00000008, 0x00000384, 0x00000000, 0x00000001, 0x00001800)
#if VERSION >= VERSION_NTSC_1_0
	door(0x0100, MODEL_A51GATE_R, PAD_SEV_02B6, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000cccc, 0x00010000, 0x00000ccc, 0x00014000, 0x00000111, 0, DOORTYPE_SLIDING, 0x00000008, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
#else
	door(0x0100, MODEL_A51GATE_R, PAD_SEV_02B6, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000cccc, 0x00010000, 0x00000ccc, 0x00014000, 0x00000111, 0, DOORTYPE_SLIDING, 0x00000008, 0x00000384, 0x00000000, 0xffffffff, 0x00001800)
#endif
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02E5, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE2, PAD_SEV_02E6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_02E7, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02E8, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE2, PAD_SEV_02E9, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_02EA, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02EB, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE2, PAD_SEV_02EC, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_02ED, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02EE, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE2, PAD_SEV_02EF, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_02F0, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02F1, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE2, PAD_SEV_02F2, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_02F3, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02F4, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE2, PAD_SEV_02F5, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_02F6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_02F7, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	blocked_path(2, 0x0111, 0x01bb)
	conditional_scenery(1, 0, 2)
	door(0x0100, MODEL_A51_UNEXP1, PAD_SEV_0422, OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_PATHBLOCKER | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE | OBJFLAG_DEACTIVATED, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS | OBJFLAG2_AICANNOTUSE, 0, 1000, 0x00000000, 0x00010000, 0x03e80000, 0x03e80000, 0x00010000, 0, DOORTYPE_SLIDING, 0x00000080, 0x00000001, 0x00010000, 0x00000000, 0x00000000)
	stdobject(0x0100, MODEL_A51_EXP1, PAD_SEV_0421, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000)
	tag(0x18, -2)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0475, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_01000000 | OBJFLAG_AISEETHROUGH, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000)
	tag(0x46, 6)
	tag(0x47, 6)
	tag(0x48, 8)
	tag(0x49, 8)
	tag(0x38, 1)
	lift(0x0100, MODEL_A51_LIFT_CONTROL, PAD_SEV_032A, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x032a, 0x032b, -1, -1, 0x00000001, 0x00000005, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x16000000)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_0330, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x0000e666, 0x00008e38, 0x00008e38, 0x00000444, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000012c, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_0331, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x0000e666, 0x00008e38, 0x00008e38, 0x00000444, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000012c, 0x00000000, 0xffffffff, 0x00000300)
	lift_door(-2, -3, 1)
	lift_door(-2, -4, 1)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_0332, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x0000e666, 0x00008e38, 0x00008e38, 0x00000444, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000012c, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_0333, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x0000e666, 0x00008e38, 0x00008e38, 0x00000444, 0, DOORTYPE_SLIDING, 0x00000000, 0x0000012c, 0x00000000, 0xffffffff, 0x00000300)
	lift_door(-2, -7, 2)
	lift_door(-2, -8, 2)
#if VERSION >= VERSION_NTSC_1_0
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_032E, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000e666, 0x0000e666, 0x00008e38, 0x00008e38, 0x00000444, 0, DOORTYPE_SLIDING, 0x00000002, 0x0000012c, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_032F, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000e666, 0x0000e666, 0x00008e38, 0x00008e38, 0x00000444, 0, DOORTYPE_SLIDING, 0x00000002, 0x0000012c, 0x00000000, 0xffffffff, 0x00000000)
#endif
	tag(0x14, 2)
	tag(0x15, 2)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_02B3, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, DOORFLAG_FLIP, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_ST, PAD_SEV_02B4, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000e666, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000000, 0x00000384, 0x00000000, 0xffffffff, 0x00000300)
	tag(0x33, 2)
	tag(0x34, 2)
	door(0x0100, MODEL_A51_VERT_DOOR_RIGHT, PAD_SEV_02AF, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000010, 0x00000384, 0x00000000, 0x00000001, 0x00000300)
	door(0x0100, MODEL_A51_VERT_DOOR_LEFT, PAD_SEV_02B0, OBJFLAG_00000010 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000cccc, 0x00010000, 0x00007fff, 0x00014000, 0x00000666, 0, DOORTYPE_SLIDING, 0x00000010, 0x00000384, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_DOOR_ROLLERTRAIN, PAD_SEV_0321, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000c000, 0x000031c7, 0x000031c7, 0x000002fc, DOORFLAG_0004, DOORTYPE_VERTICAL, 0x00000002, 0x0000012c, 0x00000000, 0x00000000, 0x00000000)
	door(0x0100, MODEL_DOOR_ROLLERTRAIN, PAD_SEV_0327, OBJFLAG_DEACTIVATED, OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000c000, 0x000031c7, 0x000031c7, 0x000002fc, DOORFLAG_0004, DOORTYPE_VERTICAL, 0x00000002, 0x0000012c, 0x00000000, 0x00000000, 0x00000000)
#if VERSION >= VERSION_NTSC_1_0
	door(0x0100, MODEL_DOOR_ROLLERTRAIN, PAD_SEV_0320, OBJFLAG_DEACTIVATED, OBJFLAG2_INTERACTCHECKLOS | OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000c000, 0x000031c7, 0x000031c7, 0x000002fc, DOORFLAG_0004, DOORTYPE_VERTICAL, 0x00000002, 0x0000012c, 0x00000000, 0x00000000, 0x00001900)
	door(0x0100, MODEL_DOOR_ROLLERTRAIN, PAD_SEV_0326, OBJFLAG_DEACTIVATED, OBJFLAG2_INTERACTCHECKLOS | OBJFLAG2_AICANNOTUSE, 0, 1000, 0x0000f333, 0x0000c000, 0x000031c7, 0x000031c7, 0x000002fc, DOORFLAG_0004, DOORTYPE_VERTICAL, 0x00000002, 0x0000012c, 0x00000000, 0x00000000, 0x00001900)
#endif
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02B2, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, DOORFLAG_AUTOMATIC, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02B1, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	tag(0x17, 1)
	hover_prop(0x00eb, MODEL_HOVERCRATE1, PAD_SEV_01C7, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_UNCOLLECTABLE | OBJFLAG_01000000 | OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_HOVERPROP_20000000, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_REMOVEWHENDESTROYED | OBJFLAG2_BULLETPROOF | OBJFLAG2_HOVERPROP_80000000, OBJFLAG3_PUSHABLE | OBJFLAG3_GRABBABLE, 1000, HOVTYPE_CRATE)
	stdobject(0x0100, MODEL_A51BOARD, PAD_SEV_03C4, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_01000000 | OBJFLAG_AISEETHROUGH, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02BD, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02BE, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02BF, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02C0, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02C1, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02C2, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_BOT, PAD_SEV_02C3, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0000003c, 0x00000000, 0x00000001, 0x00000100)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02C4, OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x00085555, 0x00085555, 0x00001999, 0, DOORTYPE_VERTICAL, 0x00000000, 0x0fffffff, 0x00000000, 0xffffffff, 0x00000000)
	glass(0x0100, MODEL_MEDLABWIN1, PAD_SEV_0436, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_AISEETHROUGH, 0, 0, 1000)
	glass(0x0100, MODEL_MEDLABWIN2, PAD_SEV_0437, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_AISEETHROUGH, 0, 0, 1000)
	glass(0x0100, MODEL_MEDLABWIN2, PAD_SEV_0438, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_AISEETHROUGH, 0, 0, 1000)
	tag(OBJ_GLASS1, 3)
	tag(OBJ_GLASS2, 3)
	tag(OBJ_GLASS3, 3)
	glass(0x0100, MODEL_MEDLABWIN1, PAD_SEV_0439, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_AISEETHROUGH, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	glass(0x0100, MODEL_MEDLABWIN2, PAD_SEV_043A, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_AISEETHROUGH, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	glass(0x0100, MODEL_MEDLABWIN2, PAD_SEV_043B, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_AISEETHROUGH, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_0446, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_INVINCIBLE | OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000, 0x0096012c)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_0445, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_ORTHOGONAL | OBJFLAG_PATHBLOCKER | OBJFLAG_INVINCIBLE | OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000, 0x0096012c)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_043D, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ORTHOGONAL | OBJFLAG_INVINCIBLE | OBJFLAG_FORCENOBOUNCE, OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x04b007d0)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_043E, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ORTHOGONAL | OBJFLAG_INVINCIBLE | OBJFLAG_FORCENOBOUNCE, OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x04b007d0)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_043F, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ORTHOGONAL | OBJFLAG_INVINCIBLE | OBJFLAG_FORCENOBOUNCE, OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x04b007d0)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_0440, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ORTHOGONAL | OBJFLAG_INVINCIBLE | OBJFLAG_FORCENOBOUNCE, OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x04b007d0)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_0441, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ORTHOGONAL | OBJFLAG_INVINCIBLE | OBJFLAG_FORCENOBOUNCE, OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x04b007d0)
	tinted_glass(0x0100, MODEL_DD_WINDOW, PAD_SEV_0442, OBJFLAG_00000002 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ORTHOGONAL | OBJFLAG_INVINCIBLE | OBJFLAG_FORCENOBOUNCE, OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x04b007d0)
	tag(0x19, 1)
	autogun(0x00c0, MODEL_ROOFGUN, PAD_SEV_0405, OBJFLAG_UPSIDEDOWN, 0, 0, 1000, 0x0108, 0x00004000, 0xffffc000, 0x000000da, 0x00140000)
	tag(0x1a, 2)
	tag(0x22, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_033C, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x033c, 0x033d, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_045C, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x1c, 2)
	tag(0x24, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_0340, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0340, 0x0341, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_0459, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x1e, 2)
	tag(0x26, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_0344, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0344, 0x0345, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_045A, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x20, 2)
	tag(0x28, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_0348, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0348, 0x0349, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_045B, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x1b, 2)
	tag(0x23, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_033F, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x033f, 0x033e, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_045E, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x1d, 2)
	tag(0x25, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_0343, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0343, 0x0342, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_045F, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x1f, 2)
	tag(0x27, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_0347, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x0347, 0x0346, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_0460, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x21, 2)
	tag(0x29, 2)
	lift(0x0100, MODEL_CHAMBER, PAD_SEV_034B, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE | OBJFLAG_UNCOLLECTABLE | OBJFLAG_FORCENOBOUNCE | OBJFLAG_01000000 | OBJFLAG_CANNOT_ACTIVATE, OBJFLAG2_NOFALL | OBJFLAG2_FALLWITHOUTROTATION | OBJFLAG2_IMMUNETOGUNFIRE | OBJFLAG2_BULLETPROOF | OBJFLAG2_IMMUNETOEXPLOSIONS, 0, 1000, 0x034b, 0x034a, -1, -1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000071c, 0x0010aaaa, 0x00000000)
	singlemonitor(0x0100, MODEL_MODEMBOX, PAD_SEV_045D, OBJFLAG_00000002 | OBJFLAG_DEACTIVATED, 0, 0, 1000, 18)
	tag(0x32, 1)
	stdobject(0x0100, MODEL_A51_CRATE1, -1, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_IGNOREROOMCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0461, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0462, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0463, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0464, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0465, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0466, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0467, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0468, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0469, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_046A, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_046B, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_046C, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_046D, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_046E, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_046F, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0470, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0471, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0472, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0473, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_A51TABLE, PAD_SEV_0474, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0476, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	tag(0x44, 1)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_0477, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_0479, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	tag(0x43, 1)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_047A, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_047B, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	tag(0x40, 1)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_047C, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_047D, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_047E, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_047F, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	tag(0x3f, 1)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_0480, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0481, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0482, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0483, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	tag(0x41, 1)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_0484, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	tag(0x42, 1)
	stdobject(0x00c0, MODEL_DD_CHAIR, PAD_SEV_0485, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	tag(0x3b, 1)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0486, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0487, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0488, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0489, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0491, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0492, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0493, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0494, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0495, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0496, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0497, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0498, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_0499, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_049A, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_049B, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_049C, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_049D, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_049E, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_049F, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_04A0, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_04A1, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_04A2, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51WASTEBIN, PAD_SEV_04A3, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04A4, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04A5, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04A6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04A7, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04A8, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04A9, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04AA, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04AB, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04AC, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE3, PAD_SEV_031A, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51_CRATE1, PAD_SEV_031B, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04B7, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04B8, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04B9, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04BA, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04BB, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04BC, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04BD, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_04BE, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02C7, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02C8, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02C9, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02CA, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02CB, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02CC, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02CD, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02CE, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02CF, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D0, OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_DEACTIVATED, 0, 0, 1000, 0x0000f333, 0x0000f333, 0x0001aaaa, 0x0001aaaa, 0x00000ccc, 0, DOORTYPE_VERTICAL, 0x00000000, 0x00000078, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D1, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D2, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D3, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D4, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D5, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D6, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D7, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D8, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02D9, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02DA, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	door(0x0100, MODEL_A51_HORIZ_DOOR_TOP, PAD_SEV_02DB, OBJFLAG_AISEETHROUGH | OBJFLAG_DEACTIVATED | OBJFLAG_DOOR_OPENTOFRONT, 0, 0, 1000, 0x005a0000, 0x03e80000, 0x012c0000, 0x012c0000, 0x00030000, 0, DOORTYPE_SWINGING, 0x00000000, 0x000005dc, 0x00000000, 0x00000000, 0x00000b00)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0307, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0306, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0305, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0304, OBJFLAG_FALL | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02F9, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02FA, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02FB, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02FC, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02FD, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02FE, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_02FF, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0300, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0301, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0302, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	stdobject(0x0100, MODEL_BARREL, PAD_SEV_0303, OBJFLAG_FALL | OBJFLAG_YTOPADBOUNDS | OBJFLAG_00000100, 0, OBJFLAG3_PUSHABLE, 1000)
	tag(OBJ_PSYCHOSISGUN, 1)
	weapon(0x0100, MODEL_CHRDRUGGUN, PAD_SEV_0397, OBJFLAG_FALL, 0, 0, WEAPON_PSYCHOSISGUN)
	stdobject(0x0200, MODEL_A51TABLE, PAD_SEV_04D6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0200, MODEL_A51TABLE, PAD_SEV_04D7, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04AF, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B0, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B1, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B2, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B3, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B4, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B5, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_A51DIVIDE, PAD_SEV_04B6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_048F, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	stdobject(0x0100, MODEL_DD_CHAIR, PAD_SEV_0490, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, 0, 0, 1000)
	tag(OBJ_CONSOLE, 1)
#if VERSION >= VERSION_PAL_BETA
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_0435, OBJFLAG_FALL | OBJFLAG_00000100, OBJFLAG2_IMMUNETOANTI, OBJFLAG3_INTERACTABLE, 1000, 3, 3, 0, 0)
#else
	multimonitor(0x0099, MODEL_PD_CONSOLE, PAD_SEV_0435, OBJFLAG_FALL | OBJFLAG_00000100, 0, OBJFLAG3_INTERACTABLE, 1000, 3, 3, 0, 0)
#endif
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04ED, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04EE, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04EF, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F0, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F1, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F2, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F3, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F4, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F5, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	stdobject(0x0100, MODEL_G5_MAINFRAME, PAD_SEV_04F6, OBJFLAG_FALL | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR, OBJFLAG2_IMMUNETOGUNFIRE, 0, 1000)
	tag(0x4f, 1)
	stdobject(0x0100, MODEL_A51GRATE, PAD_SEV_0443, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_IGNOREROOMCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	tag(0x50, 1)
	stdobject(0x0100, MODEL_A51GRATE, PAD_SEV_0449, OBJFLAG_00000008 | OBJFLAG_XTOPADBOUNDS | OBJFLAG_YTOPADBOUNDS | OBJFLAG_ZTOPADBOUNDS | OBJFLAG_00000100 | OBJFLAG_IGNOREFLOORCOLOUR | OBJFLAG_IGNOREROOMCOLOUR | OBJFLAG_INVINCIBLE, 0, 0, 1000)
	endprops
};

s32 intro[] = {
	spawn(PAD_SEV_03DD)
	ammo(AMMOTYPE_MAGNUM, 1)
	outfit(OUTFIT_ELVIS)
	endintro
};

s32 path00[] = {
	PAD_SEV_0194,
	PAD_SEV_0193,
	PAD_SEV_0196,
	PAD_SEV_0195,
	-1,
};

s32 path01[] = {
	PAD_SEV_019A,
	PAD_SEV_019C,
	PAD_SEV_018B,
	PAD_SEV_018A,
	PAD_SEV_018F,
	PAD_SEV_01A0,
	PAD_SEV_0190,
	PAD_SEV_019E,
	PAD_SEV_0199,
	-1,
};

s32 path02[] = {
	PAD_SEV_0190,
	PAD_SEV_019E,
	PAD_SEV_0199,
	PAD_SEV_019A,
	PAD_SEV_019C,
	PAD_SEV_018B,
	PAD_SEV_018A,
	PAD_SEV_018F,
	PAD_SEV_01A0,
	-1,
};

s32 path03[] = {
	PAD_SEV_018D,
	PAD_SEV_0189,
	PAD_SEV_0191,
	PAD_SEV_018F,
	PAD_SEV_018E,
	-1,
};

s32 path04[] = {
	PAD_SEV_0185,
	PAD_SEV_0186,
	PAD_SEV_0187,
	PAD_SEV_0182,
	PAD_SEV_0188,
	-1,
};

s32 path05[] = {
	PAD_SEV_01BD,
	PAD_SEV_01BC,
	PAD_SEV_01BB,
	PAD_SEV_01BC,
	PAD_SEV_01BD,
	-1,
};

s32 path06[] = {
	PAD_SEV_0111,
	PAD_SEV_010F,
	PAD_SEV_011A,
	PAD_SEV_0118,
	PAD_SEV_011A,
	PAD_SEV_010F,
	PAD_SEV_0111,
	-1,
};

s32 path07[] = {
	PAD_SEV_0112,
	PAD_SEV_0113,
	PAD_SEV_0100,
	PAD_SEV_0102,
	PAD_SEV_0104,
	PAD_SEV_0102,
	PAD_SEV_0100,
	PAD_SEV_0113,
	-1,
};

s32 path08[] = {
	PAD_SEV_00F7,
	PAD_SEV_00FA,
	PAD_SEV_00FB,
	PAD_SEV_00FC,
	PAD_SEV_00FB,
	PAD_SEV_00FA,
	PAD_SEV_00F7,
	PAD_SEV_00F8,
	PAD_SEV_00F9,
	PAD_SEV_00FA,
	-1,
};

s32 path09[] = {
	PAD_SEV_00F0,
	PAD_SEV_00F2,
	PAD_SEV_00F3,
	PAD_SEV_00F4,
	PAD_SEV_00F3,
	PAD_SEV_00F2,
	PAD_SEV_00F0,
	PAD_SEV_00EF,
	PAD_SEV_00F3,
	PAD_SEV_00F2,
	-1,
};

s32 path10[] = {
	PAD_SEV_0123,
	PAD_SEV_0124,
	-1,
};

s32 path11[] = {
	PAD_SEV_0124,
	PAD_SEV_0123,
	-1,
};

s32 path12[] = {
	PAD_SEV_0118,
	PAD_SEV_0119,
	PAD_SEV_011A,
	PAD_SEV_010D,
	PAD_SEV_010E,
	PAD_SEV_010F,
	PAD_SEV_0110,
	PAD_SEV_0111,
	PAD_SEV_0112,
	PAD_SEV_0113,
	PAD_SEV_0114,
	PAD_SEV_0100,
	PAD_SEV_0114,
	PAD_SEV_0113,
	PAD_SEV_0112,
	PAD_SEV_0111,
	PAD_SEV_0110,
	PAD_SEV_010F,
	PAD_SEV_010E,
	PAD_SEV_010D,
	PAD_SEV_011A,
	PAD_SEV_0119,
	-1,
};

s32 path13[] = {
	PAD_SEV_00ED,
	PAD_SEV_0100,
	PAD_SEV_00ED,
	-1,
};

s32 path14[] = {
	PAD_SEV_0100,
	PAD_SEV_0118,
	PAD_SEV_0100,
	PAD_SEV_00ED,
	-1,
};

struct path paths[] = {
	{ path00, 0, 0 },
	{ path01, 1, 0 },
	{ path02, 2, 0 },
	{ path03, 3, 0 },
	{ path04, 4, 0 },
	{ path05, 5, 0 },
	{ path06, 6, 0 },
	{ path07, 7, 0 },
	{ path08, 8, 0 },
	{ path09, 9, 0 },
	{ path10, 10, 0 },
	{ path11, 11, 0 },
	{ path12, 12, 0 },
	{ path13, 13, 0 },
	{ path14, 14, 0 },
	{ NULL, 0, 0 },
};

u8 func1000_setup_counterop[] = {
	yield
	set_chr_team(CHR_ANTI, TEAM_ENEMY)

	// These objects don't exist...?
	give_object_to_chr(0x05, CHR_BOND)
	give_object_to_chr(0x3a, CHR_COOP)

	set_ailist(CHR_SELF, GAILIST_REBUILD_GROUPS)
	endlist
};

u8 func0401_start_path00[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	assign_path(0)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0402_start_path01[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	assign_path(1)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0403_start_path02[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	assign_path(2)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0404_start_path03[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	assign_path(3)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0405_start_path04[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	assign_path(4)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0406_start_path05[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	assign_path(5)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0407_start_path06[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(6)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0408_start_path07[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(7)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func0409_start_path08[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(8)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func040a_start_path09[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(9)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func040b_start_path10[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(10)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func040c_start_path11[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(11)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func040d_start_path12[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(12)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func040e_start_path13[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(13)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func040f_start_path14[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	assign_path(14)
	start_patrol
	set_ailist(CHR_SELF, GAILIST_UNALERTED_0004)
	endlist
};

u8 func1001_objectives_failed_msg[] = {
	set_ailist(CHR_SELF, GAILIST_SHOW_OBJ_FAILED_MSG)
	endlist
};

u8 func0415_init_50hp_guard[] = {
	set_accuracy(10)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 50)
	add_health_or_armor(0)
	set_recovery_speed(35)
	set_shield(0)
	set_ailist(CHR_SELF, GAILIST_UNALERTED)
	endlist
};

u8 func0416_init_80hp_guard[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	set_ailist(CHR_SELF, GAILIST_UNALERTED)
	endlist
};

u8 func0417_init_lx_guard[] = {
	set_accuracy(10)
	set_reaction_speed(100)
	set_chr_maxdamage(CHR_SELF, 280)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	set_ailist(CHR_SELF, GAILIST_UNALERTED)
	endlist
};

// This function is never assigned
u8 func0418_init_alerted_guard[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	set_ailist(CHR_SELF, GAILIST_ALERTED)
	endlist
};

u8 func100d_start_lifts[] = {
	activate_lift(1, 0x35)
	activate_lift(4, 0x38)
	activate_lift(5, 0x39)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func1003_check_experiment_destroyed[] = {
	beginloop(0x04)
		if_object_in_good_condition(OBJ_EXPERIMENT, /*goto*/ 0x2c)
		show_hudmsg(CHR_BOND, L_SEV_007) // "Medical experiment has been sabotaged."
		set_stage_flag(STAGEFLAG_EXPERIMENT_DESTROYED)
		set_ailist(CHR_SELF, GAILIST_IDLE)
		label(0x2c)
	endloop(0x04)

	endlist
};

u8 func1004_check_saucer_destroyed[] = {
	beginloop(0x04)
		if_object_in_good_condition(0x3e, /*goto*/ 0x2c)
		show_hudmsg(CHR_BOND, L_SEV_008) // "Captured Maian saucer has been destroyed."
		set_stage_flag(STAGEFLAG_SAUCER_DESTROYED)
		set_ailist(CHR_SELF, GAILIST_IDLE)
		label(0x2c)
	endloop(0x04)

	endlist
};

u8 func1005_check_experiment_destroyed_pointless[] = {
	// This is a pointless function
	beginloop(0x04)
		if_object_in_good_condition(OBJ_EXPERIMENT, /*goto*/ 0x2c)
		set_ailist(CHR_SELF, GAILIST_IDLE)
		label(0x2c)
	endloop(0x04)

	endlist
};

u8 func1006_activate_alarm[] = {
	// Wait until player is in crate room
	beginloop(0x04)
		chr_toggle_p1p2(CHR_SELF)
		if_chr_in_room(CHR_P1P2, 0x00, 0x003f, /*goto*/ 0x2c)
	endloop(0x04)

	// Activate alarm
	label(0x2c)
	activate_alarm
	set_stage_flag(STAGEFLAG_ALARM_SOUNDED)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

/**
 * A hidden chr spawns clones every 50 seconds after the alarm is sounded.
 */
u8 func0410_clone_spawner[] = {
	set_self_chrflag(CHRCFLAG_CLONEABLE)
	set_self_chrflag(CHRCFLAG_HIDDEN)
	set_self_chrflag(CHRCFLAG_NEVERSLEEP)

	// Wait until alarm activated
	beginloop(0x0d)
		if_stage_flag_eq(STAGEFLAG_ALARM_SOUNDED, TRUE, /*goto*/ 0x04)
	endloop(0x0d)

	beginloop(0x04)
		if_never_been_onscreen(/*goto*/ 0x4d)
		if_los_to_target(/*goto*/ 0x08) // <-- pointless
		reloop(0x04)

		label(0x08)
		reloop(0x04)

		label(0x4d)
		if_chr_death_animation_finished(CHR_CLONE, /*goto*/ 0x4d)
		reloop(0x04)

		// Wait 50 seconds
		label(0x4d)
		restart_timer

		beginloop(0x09)
			if_timer_gt(3000, /*goto*/ 0x06)
		endloop(0x09)

		// Spawn a clone
		label(0x06)
		try_spawn_clone2(CHR_SELF, AILIST_INIT_CLONE, 0, /*goto*/ 0x2c)
		set_ailist(CHR_SELF, AILIST_CLONE)

		label(0x2c)
		yield
	endloop(0x04)

	endlist
};

u8 func0411_init_clone[] = {
	set_accuracy(13)
	set_reaction_speed(0)
	set_chr_maxdamage(CHR_SELF, 80)
	add_health_or_armor(0)
	set_recovery_speed(0)
	set_shield(0)
	set_self_flag_bankx(CHRFLAG1_NOIDLEANIMS, BANK_1)
	set_chr_hiddenflag(CHR_SELF, CHRHFLAG_BASICGUARD)
	label(0x04)
	try_inherit_properties(0x4e, /*goto*/ 0x06)
	label(0x06)
	set_chr_team(CHR_SELF, TEAM_ENEMY)
	rebuild_teams
	rebuild_squadrons
	set_ailist(CHR_SELF, AILIST_CLONE)
	endlist
};

u8 func0412_clone[] = {
	set_self_chrflag(CHRCFLAG_NEVERSLEEP)
	set_returnlist(CHR_SELF, GAILIST_ALERTED)
	set_ailist(CHR_SELF, GAILIST_ALERTED)
	endlist
};

u8 func0410_clone_spawner2[] = {
	set_self_chrflag(CHRCFLAG_CLONEABLE)
	set_self_chrflag(CHRCFLAG_HIDDEN)
	set_self_chrflag(CHRCFLAG_NEVERSLEEP)

	// Wait until player is in room 0x005e
	beginloop(0x0d)
		if_chr_in_room(CHR_BOND, 0x00, 0x005e, /*goto*/ 0x2c)
	endloop(0x0d)

	beginloop(0x04)
		if_never_been_onscreen(/*goto*/ 0x4d)
		if_los_to_target(/*goto*/ 0x08) // <-- pointless
		reloop(0x04)

		label(0x08)
		reloop(0x04)

		// Condition triggered. Also wait until clone is dead.
		label(0x4d)
		if_chr_death_animation_finished(CHR_CLONE, /*goto*/ 0x4d)
		reloop(0x04)

		// Wait a further 50 seconds
		label(0x4d)
		restart_timer

		beginloop(0x09)
			if_timer_gt(3000, /*goto*/ 0x06)
		endloop(0x09)

		// Spawn clone
		label(0x06)
		try_spawn_clone2(CHR_SELF, AILIST_INIT_CLONE, 0, /*goto*/ 0x2c)
		set_ailist(CHR_SELF, AILIST_CLONE)

		label(0x2c)
		yield
	endloop(0x04)

	endlist
};

u8 func1007_disable_pods[] = {
	// Pods are the things that you xray scan in Rescue
	set_object_flag(0x1a, OBJFLAG_DEACTIVATED)
	set_object_flag(0x1b, OBJFLAG_DEACTIVATED)
	set_object_flag(0x1c, OBJFLAG_DEACTIVATED)
	set_object_flag(0x1d, OBJFLAG_DEACTIVATED)
	set_object_flag(0x1e, OBJFLAG_DEACTIVATED)
	set_object_flag(0x1f, OBJFLAG_DEACTIVATED)
	set_object_flag(0x20, OBJFLAG_DEACTIVATED)
	set_object_flag(0x21, OBJFLAG_DEACTIVATED)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func1008_check_console[] = {
	// Wait for console activated or destroyed
	beginloop(0x04)
		if_chr_activated_object(CHR_ANY, OBJ_CONSOLE, /*goto*/ 0x2c)
		if_object_in_good_condition(OBJ_CONSOLE, /*goto*/ 0x06)
		goto_next(0x08)
		label(0x06)
	endloop(0x04)

	// Console activated - play sound and wait 3 seconds
	label(0x2c)
	play_sound(SFX_8116, -1)
	restart_timer

	beginloop(0x09)
		if_timer_gt(180, /*goto*/ 0x2c)
	endloop(0x09)

	label(0x2c)
	assign_sound(SFX_8111, CHANNEL_0)
	play_repeating_sound_from_object(CHANNEL_0, OBJ_CONSOLE, 1, 300, 400)
	show_hudmsg(CHR_BOND, L_SEV_009) // "Distress signal has been sent."
	set_stage_flag(STAGEFLAG_CONSOLE_ACTIVATED)
	set_ailist(CHR_SELF, GAILIST_IDLE)

	// Console destroyed
	label(0x08)
	show_hudmsg(CHR_BOND, L_SEV_010) // "Critical mission object has been destroyed."
	set_stage_flag(STAGEFLAG_CONSOLE_DESTROYED)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func1009_check_for_exit[] = {
	// Wait for all objectives complete
	beginloop(0x04)
		if_all_objectives_complete(/*goto*/ 0x2c)
	endloop(0x04)

	// Wait 2 seconds
	label(0x2c)
	restart_timer

	beginloop(0x08)
		if_timer_gt(120, /*goto*/ 0x2c)
	endloop(0x08)

	label(0x2c)
	set_chr_chrflag(CHR_BOND, CHRCFLAG_INVINCIBLE)
	set_chr_chrflag(CHR_COOP, CHRCFLAG_INVINCIBLE)
	if_chr_death_animation_finished(CHR_BOND, /*goto*/ 0x2c)
	if_chr_dead(CHR_BOND, /*goto*/ 0x2c)
	if_chr_knockedout(CHR_BOND, /*goto*/ 0x2c)
	goto_next(0x06)

	label(0x2c)
	if_chr_death_animation_finished(CHR_COOP, /*goto*/ 0x2c)
	if_chr_dead(CHR_COOP, /*goto*/ 0x2c)
	if_chr_knockedout(CHR_COOP, /*goto*/ 0x2c)
	goto_next(0x06)

	// Both players dead
	label(0x2c)
	end_level
	set_ailist(CHR_SELF, GAILIST_IDLE)

	// At least one player survived
	label(0x06)
	set_ailist(CHR_SELF, AILIST_OUTRO)
	end_level
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func100a_vertical_door_sounds[] = {
	// Wait for player to activate vertical doors
	beginloop(0x5d)
		chr_toggle_p1p2(CHR_SELF)
		if_chr_activated_object(CHR_P1P2, 0x46, /*goto*/ 0x2c)
		if_chr_activated_object(CHR_P1P2, 0x47, /*goto*/ 0x2c)
		if_chr_activated_object(CHR_P1P2, 0x48, /*goto*/ 0x2c)
		if_chr_activated_object(CHR_P1P2, 0x49, /*goto*/ 0x2c)
		reloop(0x5d)

		label(0x2c)
		play_sound(SFX_DOOR_81B0, -1)
		restart_timer

		beginloop(0x08)
			if_timer_gt(120, /*goto*/ 0x06)
		endloop(0x08)

		label(0x06)
	endloop(0x5d)

	endlist
};

u8 func100b_check_medlab_escapable[] = {
	// While player is in the starting area
	beginloop(0x04)
		if_chr_in_room(CHR_BOND, 0x00, 0x0095, /*goto*/ 0x2c)
		if_chr_in_room(CHR_BOND, 0x00, 0x0096, /*goto*/ 0x2c)
		if_chr_in_room(CHR_BOND, 0x00, 0x0097, /*goto*/ 0x2c)
		if_chr_in_room(CHR_BOND, 0x00, 0x0098, /*goto*/ 0x2c)
		reloop(0x04)

		// If any glass is broken, jump to 0x0d where we'll return
		label(0x2c)
		if_object_in_good_condition(OBJ_GLASS1, /*goto*/ 0x2c)
		goto_next(0x0d)
		label(0x2c)
		if_object_in_good_condition(OBJ_GLASS2, /*goto*/ 0x2c)
		goto_next(0x0d)
		label(0x2c)
		if_object_in_good_condition(OBJ_GLASS3, /*goto*/ 0x2c)
		goto_next(0x0d)

		// Check if trolley is destroyed
		label(0x2c)
		if_object_in_good_condition(OBJ_TROLLEY, /*goto*/ 0x06)
		goto_next(0x2c)

		// Trolley is not destroyed
		// Wait until we have pistol ammo (ie. Falcon 2), then wait until we don't.
		label(0x06)
		if_stage_flag_eq(STAGEFLAG_GOT_FALCON2, TRUE, /*goto*/ 0x66)
		if_ammo_quantity_lt(CHR_BOND, AMMOTYPE_PISTOL, 1, /*goto*/ 0x67)
		set_stage_flag(STAGEFLAG_GOT_FALCON2)
		reloop(0x04)

		label(0x67)
		reloop(0x04)

		label(0x66)
		if_ammo_quantity_lt(CHR_BOND, AMMOTYPE_PISTOL, 1, /*goto*/ 0x2c)
		reloop(0x04)

		// Trolley is destroyed. Wait 3 seconds for explosion to break any glass.
		label(0x2c)
		restart_timer

		beginloop(0x61)
			if_timer_gt(180, /*goto*/ 0x2c)
			if_object_in_good_condition(OBJ_GLASS1, /*goto*/ 0x2d)
			goto_next(0x0d)
			label(0x2d)
			if_object_in_good_condition(OBJ_GLASS2, /*goto*/ 0x2d)
			goto_next(0x0d)
			label(0x2d)
			if_object_in_good_condition(OBJ_GLASS3, /*goto*/ 0x2d)
			goto_next(0x0d)
			label(0x2d)
		endloop(0x61)

		// Timer expired, and no glass was broken. Check if lab techs are dead.
		label(0x2c)
		if_chr_death_animation_finished(CHR_LABTECH1, /*goto*/ 0x63)
		if_chr_dead(CHR_LABTECH1, /*goto*/ 0x63)
		if_chr_knockedout(CHR_LABTECH1, /*goto*/ 0x63)
		goto_next(0x06)

		label(0x63)
		if_chr_death_animation_finished(CHR_LABTECH2, /*goto*/ 0x65)
		if_chr_dead(CHR_LABTECH2, /*goto*/ 0x65)
		if_chr_knockedout(CHR_LABTECH2, /*goto*/ 0x65)

		label(0x06)
		if_chr_has_object(CHR_BOND, OBJ_PSYCHOSISGUN, /*goto*/ 0x2c)
		reloop(0x04)

		label(0x2c)
		if_ammo_quantity_lt(CHR_BOND, AMMOTYPE_PSYCHOSIS, 1, /*goto*/ 0x2c)
		reloop(0x04)

		// Both lab techs dead
		label(0x65)

		// Player has psychosis gun but ammo depleted
		label(0x2c)
		show_hudmsg(CHR_BOND, L_SEV_011) // "Mission failed - cannot escape from medlab."
		set_stage_flag(STAGEFLAG_TRAPPED_AT_START)
		goto_next(0x0e)

		// Glass broken
		label(0x0d)
		unset_stage_flag(STAGEFLAG_TRAPPED_AT_START)
		set_ailist(CHR_SELF, GAILIST_IDLE)

		beginloop(0x0e)
			if_chr_in_room(CHR_BOND, 0x00, 0x0095, /*goto*/ 0x2c)
			if_chr_in_room(CHR_BOND, 0x00, 0x0096, /*goto*/ 0x2c)
			if_chr_in_room(CHR_BOND, 0x00, 0x0097, /*goto*/ 0x2c)
			if_chr_in_room(CHR_BOND, 0x00, 0x0098, /*goto*/ 0x2c)
			goto_next(0x06)
			label(0x2c)
		endloop(0x0e)

		label(0x06)
		show_hudmsg(CHR_BOND, L_SEV_012) // "Alternative escape route found."
		unset_stage_flag(STAGEFLAG_TRAPPED_AT_START)
	goto_first(0x04)

	endlist
};

u8 func1002_intro[] = {
	set_chr_chrflag(CHR_COOP, CHRCFLAG_HIDDEN)
	set_chr_chrflag(CHR_ANTI, CHRCFLAG_HIDDEN)
	play_cutscene_track(MUSIC_G5_INTRO)
	camera_movement(ANIM_CUT_SEV_INTRO_CAM)
	cmd0175(60)
	set_chr_chrflag(CHR_BOND, CHRCFLAG_UNPLAYABLE)
	set_chr_hiddenflag(CHR_BOND, CHRHFLAG_00020000)
	chr_do_animation(ANIM_CUT_SEV_INTRO_ELVIS, -1, -1, CHRANIMFLAG_MOVEWHENINVIS | CHRANIMFLAG_PAUSEATEND, 0, CHR_BOND, 4)
	set_object_flag2(OBJ_TROLLEY, OBJFLAG2_CANFILLVIEWPORT)
	set_object_flag3(OBJ_TROLLEY, OBJFLAG3_00000010)
	object_do_animation(ANIM_CUT_SEV_INTRO_BED, OBJ_TROLLEY, 0x04, 0xffff)
	restart_timer
	fade_to_color(0x000000ff, 0)
	fade_to_color(0x00000000, 110)

	#define wait_until(time, loopid) \
		beginloop(loopid) \
			if_controller_button_pressed(/*goto*/ 0x87) \
			if_timer_gt(time, /*goto*/ 0x06) \
		endloop(loopid) \
 \
		label(0x06)

	wait_until(300, 0x76)
	play_sound(SFX_0161, CHANNEL_7)

	wait_until(302, 0x77)
	play_sound(SFX_0162, CHANNEL_6)

	wait_until(330, 0x78)
	play_sound(SFX_0163, CHANNEL_6)

	wait_until(360, 0x79)
	play_sound(SFX_0164, CHANNEL_6)

	beginloop(0x08)
		if_camera_animating(/*goto*/ 0x2c)
		goto_next(0x87)
		label(0x2c)
		if_controller_button_pressed(/*goto*/ 0x87)
		label(0x2c)
	endloop(0x08)

	label(0x87)
	unset_chr_chrflag(CHR_COOP, CHRCFLAG_HIDDEN)
	unset_chr_chrflag(CHR_ANTI, CHRCFLAG_HIDDEN)
	unset_chr_chrflag(CHR_BOND, CHRCFLAG_HIDDEN)
	unset_chr_chrflag(CHR_BOND, CHRCFLAG_UNPLAYABLE)
	set_chr_hiddenflag(CHR_BOND, CHRHFLAG_00020000)
	chr_do_animation(ANIM_CUT_SEV_INTRO_ELVIS, -2, -1, CHRANIMFLAG_MOVEWHENINVIS | CHRANIMFLAG_PAUSEATEND, 0, CHR_BOND, 2)
	unset_object_flag2(OBJ_TROLLEY, OBJFLAG2_CANFILLVIEWPORT)
	set_object_flag3(OBJ_TROLLEY, OBJFLAG3_00000010)
	object_do_animation(ANIM_CUT_SEV_INTRO_BED, OBJ_TROLLEY, 0x04, 0xfffe)
	stop_cutscene_track
	stop_ambient_track
	enter_firstperson
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func041b_outro[] = {
	set_invincible(CHR_BOND)
	set_chr_chrflag(CHR_COOP, CHRCFLAG_HIDDEN)
	set_chr_chrflag(CHR_ANTI, CHRCFLAG_HIDDEN)
	play_cutscene_track(MUSIC_G5_OUTRO)
	camera_movement(ANIM_CUT_SEV_OUTRO_CAM)

	set_chr_chrflag(CHR_BOND, CHRCFLAG_UNPLAYABLE)
	set_chr_hiddenflag(CHR_BOND, CHRHFLAG_00020000)
	chr_do_animation(ANIM_CUT_SEV_OUTRO_ELVIS, -1, -1, CHRANIMFLAG_MOVEWHENINVIS | CHRANIMFLAG_PAUSEATEND, 0, CHR_BOND, 4)

	unset_chr_chrflag(CHR_OUTRO_GUARD, CHRCFLAG_HIDDEN)
	set_chr_chrflag(CHR_OUTRO_GUARD, CHRCFLAG_UNPLAYABLE)
	set_chr_hiddenflag(CHR_OUTRO_GUARD, CHRHFLAG_00020000)
	chr_do_animation(ANIM_CUT_SEV_OUTRO_GUARD, -1, -1, CHRANIMFLAG_MOVEWHENINVIS | CHRANIMFLAG_PAUSEATEND, 0, CHR_OUTRO_GUARD, 4)

	show_nonessential_chrs(FALSE)
	restart_timer

	wait_until(46, 0x6c)
	play_sound(SFX_M0_HEY_YOU, CHANNEL_7)

	wait_until(144, 0x6d)
	play_sound(SFX_0085, CHANNEL_6)

	wait_until(205, 0x6e)
	play_sound(SFX_04F2, CHANNEL_CUTSCENE)

	wait_until(210, 0x6f)
	play_sound(SFX_0045, CHANNEL_CUTSCENE)

	wait_until(214, 0x70)
	play_sound(SFX_ARGH_MAIAN_05E0, CHANNEL_CUTSCENE)

	wait_until(260, 0x71)
	play_sound(SFX_007B, CHANNEL_CUTSCENE)

	wait_until(270, 0x72)
	play_sound(SFX_M0_GRAB_A_BODY_BAG, CHANNEL_CUTSCENE)

	beginloop(0x08)
		if_camera_animating(/*goto*/ 0x2c)
		goto_next(0x87)
		label(0x2c)
		if_controller_button_pressed(/*goto*/ 0x87)
		label(0x2c)
	endloop(0x08)

	label(0x87)
	label(0x06)
	end_level
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func0419_init_outro_guard[] = {
	set_self_chrflag(CHRCFLAG_HIDDEN)
	set_self_chrflag(CHRCFLAG_INVINCIBLE)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func100c_unset_trolley_flag_when_destroyed[] = {
	beginloop(0x04)
		if_object_in_good_condition(OBJ_TROLLEY, /*goto*/ 0x2c)
		unset_object_flag3(OBJ_TROLLEY, OBJFLAG3_PUSHABLE)
		set_ailist(CHR_SELF, GAILIST_IDLE)
		label(0x2c)
	endloop(0x04)

	endlist
};

u8 func041c_init_labtech[] = {
	set_self_chrflag(CHRCFLAG_KEEPCORPSEKO)
	set_ailist(CHR_SELF, GAILIST_UNALERTED)
	endlist
};

u8 func100e_break_glass[] = {
	// If SA or PA, wait until experiment destroyed
	// then break the surrounding glass.
	if_difficulty_lt(DIFF_SA, /*goto*/ 0x0d)

	beginloop(0x04)
		if_objective_complete(0, /*goto*/ 0x0d)
	endloop(0x04)

	label(0x0d)
	disable_object(0x4f)
	disable_object(0x50)
	set_ailist(CHR_SELF, GAILIST_UNALERTED)
	endlist
};

u8 func100f_init_lighting[] = {
	yield
	configure_environment(0x0000, AIENVCMD_00, FALSE)
	configure_environment(0x0000, AIENVCMD_01, FALSE)
	configure_environment(0x0000, AIENVCMD_02, FALSE)
	configure_environment(0x0000, AIENVCMD_03, FALSE)
	configure_environment(0x0000, AIENVCMD_04, FALSE)
	configure_environment(0x00d3, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00d4, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00d5, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00d6, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00d7, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00d8, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00d9, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00da, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x00db, AIENVCMD_ROOM_SETOUTDOORS, TRUE)
	configure_environment(0x0024, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0025, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0026, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0027, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0028, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0029, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x002a, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x002b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x002c, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x002d, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x002e, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x002f, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0030, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0032, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0033, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0034, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0035, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0036, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0037, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0038, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0039, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x003a, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x003b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x003c, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x003d, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x003e, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x003f, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x005b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x005d, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0079, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x007a, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x007b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x007c, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x007d, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x007e, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x007f, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0080, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0081, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0082, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x008b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x008c, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x008d, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x008e, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x008f, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0090, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0091, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0092, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0093, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0094, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0095, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0096, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0097, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0098, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0099, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x009a, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x009b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00a5, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00a6, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00a7, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00a8, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00a9, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00aa, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ab, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ac, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ad, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ae, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00af, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b0, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b1, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b2, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b3, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b4, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b5, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b6, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b7, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b8, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00b9, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ba, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00bb, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00bc, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00be, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00bf, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c0, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c1, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c2, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c3, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c4, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c5, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c6, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c7, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c8, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00c9, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ca, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00cc, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00cd, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ce, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00cf, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00d0, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00d1, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00d2, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00dc, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00dd, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00de, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00df, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e0, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e1, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e2, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e3, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e4, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e5, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00e6, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00f2, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00fa, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00fb, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00fc, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00fd, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00fe, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00ff, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0100, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0101, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0102, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0103, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0104, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0105, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0106, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0107, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0108, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0109, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x010a, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x010b, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x010c, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x010d, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x010e, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x00cb, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0083, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0084, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0085, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0086, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0087, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0088, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x0089, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	configure_environment(0x008a, AIENVCMD_ROOM_SETAMBIENT, TRUE)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func1010_unload_part1_chrs[] = {
	// Wait until player is in room 0x0067 - probably crate room or so
	beginloop(0x04)
		chr_toggle_p1p2(CHR_SELF)
		if_chr_in_room(CHR_P1P2, 0x00, 0x0067, /*goto*/ 0x2c)
	endloop(0x04)

	// Unload all chrs in first part of the stage
	label(0x2c)
	set_ailist(CHR_LABTECH1, AILIST_UNLOAD)
	set_ailist(CHR_LABTECH2, AILIST_UNLOAD)
	set_ailist(0x00, AILIST_UNLOAD)
	set_ailist(0x01, AILIST_UNLOAD)
	set_ailist(0x02, AILIST_UNLOAD)
	set_ailist(0x03, AILIST_UNLOAD)
	set_ailist(0x04, AILIST_UNLOAD)
	set_ailist(0x07, AILIST_UNLOAD)
	set_ailist(0x08, AILIST_UNLOAD)
	set_ailist(0x09, AILIST_UNLOAD)
	set_ailist(0x0b, AILIST_UNLOAD)
	set_ailist(0x0c, AILIST_UNLOAD)
	set_ailist(0x0f, AILIST_UNLOAD)
	set_ailist(0x10, AILIST_UNLOAD)
	set_ailist(0x11, AILIST_UNLOAD)
	set_ailist(0x12, AILIST_UNLOAD)
	set_ailist(0x13, AILIST_UNLOAD)
	set_ailist(0x14, AILIST_UNLOAD)
	set_ailist(0x15, AILIST_UNLOAD)
	set_ailist(0x16, AILIST_UNLOAD)
	set_ailist(0x17, AILIST_UNLOAD)
	set_ailist(0x18, AILIST_UNLOAD)
	set_ailist(0x19, AILIST_UNLOAD)
	set_ailist(0x1a, AILIST_UNLOAD)
	set_ailist(0x46, AILIST_UNLOAD)
	set_ailist(0x47, AILIST_UNLOAD)
	set_ailist(0x1b, AILIST_UNLOAD)
	set_ailist(0x1c, AILIST_UNLOAD)
	set_ailist(0x1d, AILIST_UNLOAD)
	set_ailist(0x1e, AILIST_UNLOAD)
	set_ailist(0x1f, AILIST_UNLOAD)
	set_ailist(0x20, AILIST_UNLOAD)
	set_ailist(0x21, AILIST_UNLOAD)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	endlist
};

u8 func0414_unload[] = {
	label(0x2c)
	yield
	set_target_chr(CHR_BOND)
	if_nearly_in_targets_sight(30, /*goto*/ 0x06)
	if_chr_death_animation_finished(CHR_COOP, /*goto*/ 0x2c)
	set_target_chr(CHR_COOP)
	if_nearly_in_targets_sight(30, /*goto*/ 0x06)
	label(0x2c)
	if_chr_death_animation_finished(CHR_ANTI, /*goto*/ 0x08)
	set_target_chr(CHR_ANTI)
	if_nearly_in_targets_sight(30, /*goto*/ 0x06)
	label(0x08)
	yield
	chr_drop_weapon(CHR_SELF)
	remove_chr(CHR_SELF)
	label(0x2c)
	set_ailist(CHR_SELF, GAILIST_IDLE)
	label(0x06)
	set_ailist(CHR_SELF, GAILIST_UNALERTED)
	endlist
};

struct ailist ailists[] = {
	{ func1000_setup_counterop,                      0x1000 },
	{ func1001_objectives_failed_msg,                0x1001 },
	{ func1002_intro,                                0x1002 },
	{ func1003_check_experiment_destroyed,           0x1003 },
	{ func1004_check_saucer_destroyed,               0x1004 },
	{ func1005_check_experiment_destroyed_pointless, 0x1005 },
	{ func1006_activate_alarm,                       0x1006 },
	{ func1007_disable_pods,                         0x1007 },
	{ func1008_check_console,                        0x1008 },
	{ func1009_check_for_exit,                       0x1009 },
	{ func100a_vertical_door_sounds,                 0x100a },
	{ func100b_check_medlab_escapable,               0x100b },
	{ func100c_unset_trolley_flag_when_destroyed,    0x100c },
	{ func100d_start_lifts,                          0x100d },
	{ func100e_break_glass,                          0x100e },
	{ func100f_init_lighting,                        0x100f },
	{ func1010_unload_part1_chrs,                    0x1010 },
	{ func0401_start_path00,                         0x0401 },
	{ func0402_start_path01,                         0x0402 },
	{ func0403_start_path02,                         0x0403 },
	{ func0404_start_path03,                         0x0404 },
	{ func0405_start_path04,                         0x0405 },
	{ func0406_start_path05,                         0x0406 },
	{ func0407_start_path06,                         0x0407 },
	{ func0408_start_path07,                         0x0408 },
	{ func0409_start_path08,                         0x0409 },
	{ func040a_start_path09,                         0x040a },
	{ func040b_start_path10,                         0x040b },
	{ func040c_start_path11,                         0x040c },
	{ func040d_start_path12,                         0x040d },
	{ func040e_start_path13,                         0x040e },
	{ func040f_start_path14,                         0x040f },
	{ func0410_clone_spawner,                        0x0410 },
	{ func0411_init_clone,                           0x0411 },
	{ func0412_clone,                                0x0412 },
	{ func0410_clone_spawner2,                       0x0413 },
	{ func0414_unload,                               0x0414 },
	{ func0415_init_50hp_guard,                      0x0415 },
	{ func0416_init_80hp_guard,                      0x0416 },
	{ func0417_init_lx_guard,                        0x0417 },
	{ func0418_init_alerted_guard,                   0x0418 },
	{ func0419_init_outro_guard,                     0x0419 },
	{ func1002_intro,                                0x041a },
	{ func041b_outro,                                0x041b },
	{ func041c_init_labtech,                         0x041c },
	{ func1002_intro,                                0x0c00 },
	{ func041b_outro,                                0x0c01 },
	{ NULL, 0 },
};
